package org.summerframework.component.note.code.service.dto;

import org.summerframework.core.page.PaginationQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDate;

/**
 * note_code_record
 * @author
 */
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
public class NoteCodeRecordQueryDTO extends PaginationQuery {
    @ApiModelProperty(value = "根据排序")
    private Boolean orderById;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String account;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    private String code;

    /**
     * 模板id
     */
    @ApiModelProperty(value = "模板id")
    private Long templateId;

    /**
     * 状态  0:未使用  1:已使用
     */
    @ApiModelProperty(value = "状态  0:未使用  1:已使用")
    private Integer status;

    /**
     * ip
     */
    @ApiModelProperty(value = "ip")
    private String ip;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "根据创建时间排序")
    private Boolean orderByCreateTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "根据修改时间排序")
    private Boolean orderByUpdateTime;

    private LocalDate createTime;
}
